
#include <stdarg.h>
#include "LPC23xx.h"
#include "USART.h"
#include "printf.h"

int g_debug = 0;

/* extern int sprintf(char *out, const char *format, ...); */
/* extern int print(char **out, const char *format, va_list args ); */
/* extern int ERR; */

/* int StrPrintf (const char *format, ... ); */

/* int StrPrintf (const char *format, ... ) */
/* { */
/* 	char s[256]; */
/* 	char* out;  */
	
/* 	va_list args; */

/* 	out = s; */

/* 	va_start( args, format ); */

/* 	print( &out, format, args ); */

/* 	//ERR = UART_puts(s, AUX_PORT); */
/* 	return UART_puts(s, AUX_PORT); */
/* } */

